import request from "../utils/axios"
// 获取用户申购订单列表
export const popularRecommendations = (params) => {
    return request.get(`/v1/index/indices`, { params })
}
// 美股前20的股票
export const theCharts = (params) => {
    return request.get(`/v1/index/top20`, { params })
}

// 选股器
export const getStar = (params) => {
    return request.get(`/v1/index/star`, { params })
}


// 首页新闻
export const getNewList = () => {
    return request.get('/v1/index/news?page=1&page_size=6')
}